<?php
require_once "../Common/database.php";
require_once "../Common/values.php";
require_once '../Helpdesk/theme.php';





echo '<h3>New Job</h3>';


if ($ldap=='true')
{

switch($_GET[f])
{
case (it);
 $formaction='../index.php?f=helpdesk&p=hnew';
 break;
case (publicnew);
 $formaction='publicnew';
 $back='publicnew.php';
 break;
case (password);
 $formaction='password';
 $back='passwordreset.php';
 break;
case (newuser);
 $formaction='newuser';
 $back='newuser.php';
 $prefix='Managers ';
 break;
}
echo '<table><tr><form method="Post" Action="ldapsearch.php?f='.$formaction.'"><td class="noborder">';
if ($_GET[f]=='newu')
    {
    echo 'Managers ';
    }
echo $prefix.'Last Name : <input type=text name=lastname></td><td class="noborder"><INPUT type="image" src="../img/go.gif"></td></tr></form></table>';
}
if($_GET[f]!='newuser')
    {
echo '<br><a href="'.$formaction.'">Not on list ?</a>';
    }
?>

